<script setup>
import { ref, watch } from 'vue'

const title = ref('标题')
const num = ref(200)


</script>

<template>
  <h1>{{ title }}</h1>
  <input type="text" v-model="title">
  <button @click="title=123">修改title</button>
  <div>
    num:{{ num }}
    <button @click="" > + </button>
  </div>
</template>

<style lang="scss" scoped>


</style>
